﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace App_Code
{
    [ServiceContract]
    public interface CaptialIService
    {
        [OperationContract]
        List<Capital> GetCapitals(string spatialCoords);
    }

    [DataContract]
    public class Capital
    {
        [DataMember]
        public string city { get; set; }
        [DataMember]
        public string state { get; set; }
    }

}
